<div class="pageContent">
    <form method="post"
        action="${rc.getContextPath()}/manage/requirementTriggerMode/saveRequirementTriggerMode"
        class="pageForm required-validate"
        onsubmit="return validateCallback(this,dialogAjaxDone);">
        <div class="pageFormContent" >
            <input type="hidden" name="navTabId" value="${navTabId!''}">
            <input type="hidden" name="id" <#if pattern=='modify'>value="${requirementTriggerMode.requirementTriggerModeCode!''}"</#if>">
            <fieldset>
                <dl>
                    <dt style="width: 120px;"><@label key="requirementTriggerModeCode.C,colon">需求触发策略编号</@label></dt>
                    <dd>
                        <input name="requirementTriggerModeCode" size="22" type="text" maxlength="20" 
                        class="required alphanumeric toUp"  warn="<@label key='requirementTriggerModeCode.C,alreadyExists'>需求触发策略编号已存在</@label>"    
                            value="${requirementTriggerMode.requirementTriggerModeCode!''}"   
                        <#if pattern=="modify">
                             readonly="readonly"
                        <#else>
                        	 remote="${rc.getContextPath()}/manage/requirementTriggerMode/validateRequirementTriggerMode"                          
                        </#if>                   
                        />
                    </dd>
                </dl>
                <dl>
                    <dt style="width: 120px;"><@label key="requirementTriggerModeText.C,colon">需求触发策略描述</@label></dt>
                    <dd>
                        <input name="requirementTriggerModeText" size="22" type="text" maxlength="60" class="required" 
                        value="${requirementTriggerMode.requirementTriggerModeText!''}" />
                    </dd>
                </dl>
                <dl class="defectLookup">
                    <dt style="width: 120px;"><@label key="lockFlag.C,colon">状态</@label></dt>
                    <dd>
                    	<input type="checkbox" name="lockFlag" value="1"<#if (requirementTriggerMode.lockFlag)?? && (requirementTriggerMode.lockFlag == 1)> checked="true"</#if>><@label key="lock.C">锁定</@label>
                    </dd>
                </dl>                
            </fieldset>            
        </div>
       	<#if pattern=="modify">
       	<div class="createInfo" style="  height: 44px;padding: 5px 0px 5px 10px;">
		    <label class="time"><@label key="createDateTime.C,colon">创建时间：</@label><#if (requirementTriggerMode.createDateTime)??>${requirementTriggerMode.createDateTime?string("yyyy-MM-dd HH:mm:ss")}</#if></label>
		    <label class="user"><@label key="createUser.C,colon">创建人：</@label><#if (requirementTriggerMode.createUser)??>${requirementTriggerMode.createUser}</#if></label> 
		    <label class="time"><@label key="modifyDateTime.C,colon">修改时间</@label><#if (requirementTriggerMode.modifyDateTime)??>${requirementTriggerMode.modifyDateTime?string("yyyy-MM-dd HH:mm:ss")}</#if></label>
		    <label class="user"><@label key="modifyUser.C,colon">修改人：</@label><#if (requirementTriggerMode.modifyUser)??>${requirementTriggerMode.modifyUser}</#if></label> 
		</div>           
        </#if> 
        <div class="formBar">
            <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit"><@label key="save.B">保存</@label></button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="buttonActiveGrey">
                            <div class="buttonContent">
                                    <button type="button" class="close" ><@label key="cancel.B">取消</@label></button>
                            </div>
                        </div>
                    </li>
            </ul>
        </div>
    </form>
</div>
